package com.winning.pmph.utils;

public class WordUtil {
	public static boolean doc2Pdf(String docPath) throws Exception {
//		if (StringUtils.isNotBlank(docPath) && (FileUtil.extName(docPath).equalsIgnoreCase("doc")
//				|| FileUtil.extName(docPath).equalsIgnoreCase("docx"))) {
//			String pdfPath = docPath.substring(0, docPath.lastIndexOf(".")) + ".pdf";
//			com.aspose.words.Document doc = new com.aspose.words.Document(docPath);
//			doc.save(pdfPath, 40);
//			return true;
//		}
		return false;
	}
}
